<template>
  <div>
    {{ visible }}
    <el-button type="warning" @click="cancel">取消</el-button>
    <el-button type="primary">确认</el-button>
  </div>
</template>

<script>
export default {
  name: 'VueAdminTemplateMasterDia',
  props: {
    visible: {
      type: Boolean,
      required: true

    }

  },
  data() {
    return {

    }
  },
  methods: {
    cancel() {
      this.$emit('update:visible', false)
    }
  }

}
</script>

<style lang="scss" scoped>

</style>
